package com.mxpio.erp.common.equipment.service;

import com.mxpio.erp.common.equipment.entity.EquipmentEqpBasics;
import com.mxpio.erp.common.vo.InvFlowSummaryVo;
import com.mxpioframework.common.vo.Result;
import com.mxpioframework.system.service.BaseService;

import java.util.Collection;


/**
 * 设备台账Service接口
 *
 * @author Cheng
 * @date 2023-07-01
 */
public interface EquipmentEqpBasicsService extends BaseService<EquipmentEqpBasics> {
    /**
     * 新增
     * @param equipmentEqpBasics
     */
    void saveEqp(EquipmentEqpBasics equipmentEqpBasics);

    /**
     * 修改
     * @param equipmentEqpBasics
     */
    void updateEqpById(EquipmentEqpBasics equipmentEqpBasics);

    /**
     * 绑定NFC
     * @param equipmentEqpBasics
     */
    void bindNFC(EquipmentEqpBasics equipmentEqpBasics);

    /**
     * 绑定NFC根据设备以及NFC列表
     * @param listStr
     */
    public String bindNFCList(String listStr);

    Result<Collection<InvFlowSummaryVo>> getPickBomList(String basicsCode);

    void updateLastTime(EquipmentEqpBasics equipmentEqpBasics, String calCode);
}
